package designMode.strategyPatter;

/**
 * 陆离
 * 2023/11/6 10:37:22
 */
// 定义具体支付方式
public class AliPay extends Payment {
    @Override
    public String getName() {
        return "支付宝";
    }

    @Override
    protected double queryBalance(String uid) {
        return 900;
    }
}





